-- cmd_compound_and_feed
-- Create by huanghr
-- 合成并且喂食

function Operation.cmd_compound_and_feed(classId, feedId)
    if PetM.compoundAndFeedPet(classId, feedId) ~= true then
        return;
    end

    --记录起来，需要进行同步
    local v = {["class_id"] = classId, ["feed_id"] = feedId};
    SyncM.addMessage("CMD_COMPOUND_AND_FEED", v);

    -- TODO:
    SyncM.startSync();
end
